package myself.login.serviceImpl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import myself.login.dao.LoginDao;
import myself.login.service.LoginService;

@Service
public class LoginServiceImpl implements LoginService{

	@Resource
	private LoginDao loginDao;
	
	public int qrystudentCode(String studentCode) {
		
		return loginDao.qrystudentCode(studentCode);
	}

	public String qryPassWord(String studentCode) {
		
		return loginDao.qryPassWord(studentCode);
	}

	public String qryStudentName(String studentCode) {
		
		return loginDao.qryStudentName(studentCode);
	}
                                                                                                                                              
	public int qryteacherCode(String teacherCode) {

		return loginDao.qryteacherCode(teacherCode);
	}

	public String qrytPassWord(String teacherCode) {
		
		return loginDao.qrytPassWord(teacherCode);
	}

	public String qryteacherName(String teacherCode) {
		// TODO Auto-generated method stub
		return loginDao.qryTeacherName(teacherCode);
	}

	
}
